#!/sbin/openrc-run
# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

description="sunloginclient server daemon"
supervisor="supervise-daemon"
command="/opt/sunlogin/bin/sunloginclient"
command_args="-m service"
pidfile="/run/${RC_SVCNAME}.pid"

depend() {
	need runoraydaemon
}

stop_post() {
	einfo "To stop the sunlogin daemon entirely you need to stop the runoraydaemon as well."

	eend $?
}
